package com.biz.primus.model.stock.vo;

import com.biz.primus.common.enums.StockChannelEnum;
import com.biz.primus.model.stock.enums.StockChangeTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * IncrDepotStockReqVo
 * <p>
 * 门店增量库存VO
 *
 * @author jia JKLiues
 * @date 2017年10月19日
 * @reviewer
 * @see
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("门店增量库存VO")
public class IncrDepotStockReqVo implements Serializable {
    private static final long serialVersionUID = 5043802406462200381L;
    /**
     * 商品&数量
     */
    @ApiModelProperty("商品&数量")
    private List<ProductQuantityPair> items;

    @ApiModelProperty("单号")
    @NotNull
    private String bn;

    @ApiModelProperty("门店编号")
    @NotNull
    private String depotCode;

    @ApiModelProperty("库存更新类型")
    private StockChangeTypeEnum changeType;

    @ApiModelProperty(value = "渠道码",hidden = true)
    private StockChannelEnum channelCode;
}